/* This program is free software. It comes without any warranty, to
 * the extent permitted by applicable law. You can redistribute it
 * and/or modify it under the terms of the Do What The Fuck You Want
 * To Public License, Version 2, as published by Sam Hocevar. See
 * http://sam.zoy.org/wtfpl/COPYING for more details. */ 
package de.rockon.fuzzy.controller.model.commands;

import de.rockon.fuzzy.controller.gui.tree.Tree;

/**
 * Unser Command-Pattern
 */
public class AddNodeCommand implements ICommand {
	private Tree fuzzyTree = null;

	/**
	 * Der Konstruktor
	 */
	public AddNodeCommand(Tree fuzzyTree) {
		this.fuzzyTree = fuzzyTree;
	}

	@Override
	public void execute() {

		fuzzyTree.addNode();

	}

	@Override
	public void redo() {
		// kommt noch (irgendwann)
	}

	@Override
	public void undo() {
		// kommt noch (irgendwann)
	}

}
